<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="{url('admin/default/welcome')}">开始</a> / 
    <a href="{url('database/index')}">数据备份</a>
</div>
<div class="table-head fn-clear">
    <div class="fn-l">
        <a href="{url('database/index')}" class="button">
            <i class="iconfont icon-liebiao"></i> 备份列表
        </a>
        <a href="{url('database/tables')}" class="button">
            <i class="iconfont icon-liebiao1"></i> 数据库列表
        </a>
        <span class="button button-blue tip" >数据库操作 <i class="iconfont icon-xiangxia2"></i> </span>
    </div>
</div>
<div class="select-list">
    <ul class="ztree">
        <li><a href="{url('database/backupdb')}">数据库备份</a></li>
        <li><a href="{url('database/optimizeddb')}">数据库优化</a></li>
        <li><a href="{url('database/repairdb')}">数据库修复</a></li>
    </ul>
</div>
<div class="m10">
<table class="table table-border">
<thead >
	<tr>
        <th>数据库名称</th>
        <th class="w150 fn-tac">数据库引擎</th>
        <th class="w150 fn-tac">编码格式</th>
        <th class="w150 fn-tac">更新时间</th>
    </tr>
</thead>
<tbody>
{foreach $list as $rs}
<tr>
	<td>{$rs[Name]}</td>
	<td class="fn-tac">{$rs['Engine']}</td>
	<td class="fn-tac">{$rs['Collation']}</td>
	<td class="fn-tac">{$rs['Create_time']}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<script type="text/javascript">
Do('base','dialog','tip','tree',function(){
	$('.del').click(function(){$(this).del();});
	$(".tip").powerFloat({target: $(".select-list")});
	$(".ztree").treeview({collapsed: true,animated: "medium",control:"#sidetreechannel",persist: "location"});
})
</script>
